PATH![]() |
![]() ![]() |
Obtains the number of existing references to a window.
pascal OSStatus GetWindowOwnerCount (
WindowPtr window,
UInt32 *outCount);
With the Mac OS 8.5 Window Manager, all windows are created with a reference count (owner count) of one. The function CloneWindow increments the number of references to a window, and the earlier function DisposeWindow decrements the number of references. When the reference count reaches zero, DisposeWindow disposes of the window.